package com.chenxin.interact.domain.dto;

import com.chenxin.interact.domain.sapDetail.SapIsReq;
import com.chenxin.interact.domain.sapDetail.SrmBarcodeData;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;


@Data
public class SrmBarcodeReqDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonProperty("IS_REQ")
    private SapIsReq isReq;

    @JsonProperty("IT_DATA")
    private Head head;


    public static class Head {
        @JsonProperty("item")
        private List<SrmBarcodeData> dataItems;

        public List<SrmBarcodeData> getDataItems() {
            return dataItems;
        }
    }
}
